package com.bwie.system.mapper;

import com.bwie.common.domain.Delivery;
import com.bwie.common.domain.Orders;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrdersMapper {
    List<Orders> ordersList(Orders orders);

    void delAll(@Param("ordersIds") List<Integer> ordersIds);

    Orders findOrder(Integer ordersId);

    void updOrderState(Integer ordersId);

    Delivery findDelivery(Integer deliveryId);
}
